package cn.edu.scau.cmi.shishuai.exercise6;

public class ImportantUniversity extends University{
	void enterRule(double math, double english, double chinese) {
		double total = math + english + chinese;
		if(total >= 245)
			System.out.println(total + "分达到重点大学录取线");
		else
			System.out.println(total + "分未达到重点大学录取线");
	}
}
